package rc.work.module.bpm.controller.admin.problem.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import jakarta.validation.constraints.*;

@Schema(description = "管理后台 - 流程实列和问题的关联新增/修改 Request VO")
@Data
public class ProblemGroupSaveReqVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "16390")
    private Long id;

    @Schema(description = " 流程记录表Id", requiredMode = Schema.RequiredMode.REQUIRED, example = "4370")
    @NotNull(message = " 流程记录表Id不能为空")
    private Long problemBpmId;

    @Schema(description = "流程id", requiredMode = Schema.RequiredMode.REQUIRED, example = "10753")
    @NotEmpty(message = "流程id不能为空")
    private String insId;

    @Schema(description = "表名", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "表名不能为空")
    private String resultTable;

    @Schema(description = "参数 用来查询改组信息", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "参数 用来查询改组信息不能为空")
    private String params;

    @Schema(description = "参数 用来查询改组信息", example = "21842")
    private String groupId;

}